public class RerateBulkException extends OperationFailureException
A rerating operation request may fail for several reasons:
ACTIVATION_PROCESS_RUNNINGBART_UNAVAILABLE: indicates that BART is not availableBULK_LOADERS_SYNC_FAILURE: indicates that the synchronization with the bulk loaders failedDOES_NOT_EXIST: used code does not existERROR_FILTER: indicates that this filter is not correctINVALID: rerate operation is invalidINCOMPATIBLE_FILTER: indicates that this filter is not compatible with reratingRERATE_PROCESS_ALREADY_RUNNING: indicates that the rerating already runningNote
Refer to the Field Detail section for more information about a particular code and to determine the appropriate error handling in your client application.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="rerateBulkFault">
<xs:complexType>
<xs:attribute name="reason" type="RerateBulkFaultReasonType"/>
<xs:attribute name="message" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="RerateBulkFaultReasonType">
<xs:restriction base="xs:string">
<xs:enumeration value="doesNotExist"/>
<xs:enumeration value="invalid"/>
<xs:enumeration value="incompatibleFilter"/>
<xs:enumeration value="errorFilter"/>
<xs:enumeration value="rerateProcessAlreadyRunning"/>
<xs:enumeration value="bartUnavailable"/>
<xs:enumeration value="bulkLoadersSyncFailure"/>
<xs:enumeration value="activationProcessRunnning"/>
</xs:restriction>
</xs:simpleType>
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVATION_PROCESS_RUNNING
7: Indicates that the Activation process is running.
|
static int |
BART_UNAVAILABLE
Indicates that the SAP CC BART Server system is not available.
|
static int |
BULK_LOADERS_SYNC_FAILURE
6: Indicates that the synchronization with the bulkloader instances failed.
|
static int |
DOES_NOT_EXIST
0: Indicates that the used code does not exist.
|
static int |
ERROR_FILTER
Indicates that the specified filter is incorrect.
|
static int |
INCOMPATIBLE_FILTER
Indicates that the specified filter is not supported by the rerate operation.
|
static int |
INVALID
Indicates that the rerate operation is invalid (from date is missing).
|
static int |
RERATE_PROCESS_ALREADY_RUNNING
Indicates that a rerating is running.
|
| Constructor and Description |
|---|
RerateBulkException()
Constructs an empty exception.
|
RerateBulkException(int reason,
String message)
Constructs an exception with a message; It contains
a human readable text.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
String |
getMessage() |
String |
getName()
Returns the name of the result, that is "rerateBulkFault".
|
int |
getReason() |
String |
getReasonCode() |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
getOperandReferenceaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int DOES_NOT_EXIST
public static final int INVALID
public static final int INCOMPATIBLE_FILTER
public static final int ERROR_FILTER
public static final int RERATE_PROCESS_ALREADY_RUNNING
public static final int BART_UNAVAILABLE
public static final int BULK_LOADERS_SYNC_FAILURE
public static final int ACTIVATION_PROCESS_RUNNING
public RerateBulkException()
public RerateBulkException(int reason,
String message)
reason - The reasonmessage - The messagepublic String getName()
public int getReason()
public String getReasonCode()
public String getMessage()
getMessage in class Throwablepublic void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(String cData)
XMLMarshallablecData - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.tagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallableoutput - The XML output to marshal the object into